function getMemberList(params) {
    return $axios({
        url: '/employee/page',
        method: 'get',
        params
    })
}

function enableOrDisableEmployee(params) {
    return $axios({
        url: '/employee',
        method: 'put',
        data: { ...params }
    })
}

function addEmployee(params) {
    return $axios({
        url: '/employee',
        method: 'post',
        data: { ...params }
    })
}

function editEmployee(params) {
    return $axios({
        url: '/employee',
        method: 'put',
        data: { ...params }
    })
}

function queryEmployeeById(id) {
    return $axios({
        url: `/employee/${id}`,
        method: 'get'
    })
}
